package com.ml.mall.entity.state;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author kyyang
* Created 2021-05-24
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("sys_order_state")
    @ApiModel(value="SysOrderState对象", description="")
    public class SysOrderState implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("oid")
    private String oid;

    /**
    * 变更时间
    */
    @ApiModelProperty(value = "变更时间")
    @TableField("state_chage_at")
    private Date stateChageAt;

    /**
    * 0:待付款；1:已支付；2已发货；3：配送中；4：已送达；5已签收
    */
    @ApiModelProperty(value = "0:待付款；1:已支付；2已发货；3：配送中；4：已送达；5已签收")
    @TableField("state")
    private Integer state;


}
